#ifndef PREDICT_H
#define PREDICT_H
#include "common.h"
typedef enum 
{
    I_PRED_CHROMA_INVALID = -1,
    I_PRED_CHROMA_DC = 0,
    I_PRED_CHROMA_H  = 1,
    I_PRED_CHROMA_V  = 2,
    I_PRED_CHROMA_P  = 3,

    I_PRED_CHROMA_DC_LEFT = 4,
    I_PRED_CHROMA_DC_TOP  = 5,
    I_PRED_CHROMA_DC_128  = 6
}intra_chroma_pred_e;

typedef enum
{
    I_PRED_16x16_INVALID = -1,
    I_PRED_16x16_V  = 0,
    I_PRED_16x16_H  = 1,
    I_PRED_16x16_DC = 2,
    I_PRED_16x16_P  = 3,

    I_PRED_16x16_DC_LEFT = 4,
    I_PRED_16x16_DC_TOP  = 5,
    I_PRED_16x16_DC_128  = 6,

}intra16x16_pred_e;

void h264_predict_16x16(pixel *src, intra16x16_pred_e mode);

void h264_predict_chroma(pixel *src, intra_chroma_pred_e mode);

intra16x16_pred_e h264_get_actual_pred16x16(intra16x16_pred_e mode);
#endif